package com.scs.application.modules.upms.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.upms.entity.GenDatasource;

import javax.sql.DataSource;

/**
 **/
public interface GenDatasourceService extends IBaseService<GenDatasource>{

    /**
     * 获取真实的数据源
     * @param id    数据源ID
     * @return
     */
    DataSource getRealDatasource(String id);


    /**
     * 清除缓存
     */
    void clearCache();
}
